package org.karson.designpattern.behavioral.visitor.extract2;

/**
 * @author Karson Wang
 * @title Compressor
 * @Description 描述
 * @Date 2020/4/11 17:31
 * @Copyright 2019-2020
 */
public class Compressor {

    public void compress(PPTFile pptFile) {
        //...
        System.out.println("Compressor PPT.");
    }

    public void compress(PdfFile pdfFile) {
        //...
        System.out.println("Compressor PDF.");
    }

    public void compress(WordFile wordFile) {
        //...
        System.out.println("Compressor WORD.");
    }
}
